s += 'UUID=%s, version %d, %s]' % (self.getUUID(), self.getVersion(), stringbinding)
return s
def __cmp__(self, o):
if self.getUUID() == o.getUUID() and self.getVersion() == o.getVersion() and self.getAnnotation() == o.getAnnotation() and self.getObjUUID() == o.getObjUUID() and self.getProtocol() == o.getProtocol() and self.getEndpoint() == o.getEndpoint():